DocumentReplace(String, IListAttributedText, FindOptions) Method

Replaces all occurrences of the specified text with copies of the specified spans.

Definition

Namespace: Independentsoft.Office.Odf
Assembly: Independentsoft.Calc (in Independentsoft.Calc.dll) Version: 3.0.520.1+c6c593d5629a051e0af021b238c5d69d764f9686
C#
public int Replace(
	string text,
	IList<AttributedText> attributedTexts,
	FindOptions options
)

Parameters

text  String
The text to replace.
attributedTexts  IListAttributedText
The AttributedText objects that replace the text.
options  FindOptions
The options of the search.

Return Value

Int32
The number of replaced occurrences.

See Also